void init_draw(bsp_object *obj)
Parameter | Type | Description |
---|---|---|
obj | bsp_object * | object that is to use the hardware lights |
None
This function initializes and sets up the hardware lights stored in its light array. Each light is checked for shadows from the obj center position to the light position. After calling this function all geometry drawn will be lit with stored lights. To end lighting, end_draw must be called.